﻿#region Using Statements
using System;
using System.Reflection;
#endregion

namespace DirectZZT.Shared.Scripting.ScriptLanguages
{
    /// <summary>
    /// Defines a means for a type to extend the Powerscript scripting language by adding new methods.
    /// </summary>
    public interface IPowerscriptExtension
    {
        /// <summary>
        /// Returns an array of methods that are used in powerscript.
        /// </summary>
        /// <param name="script">The instance of <see cref="IScript"/> (the powerscript script) to extend.</param>
        /// <returns></returns>
        MethodInfo[] ProvideMethods(IScript script);
    }
}
